package com.design.abstractfactory;

/**
 * @author leali
 * @title: SpringSkinFactory
 * @projectName design
 * @description: Spring皮肤工厂：具体工厂
 * @date 2022/1/2 20:08
 */
public class SpringSkinFactory implements SkinFactory{
    @Override
    public Button createButton() {
        return new SpringButton();
    }

    @Override
    public TextField createTextField() {
        return new SpringTextField();
    }

    @Override
    public ComboBox createComboBox() {
        return new SpringComboBox();
    }
}
